Optimal. Leaf size=111 \[ \frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {3 d^{3/2} \sqrt {\pi } \text {Erf}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}+\frac {3 d^{3/2} \sqrt {\pi } \text {Erfi}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 111, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {3377, 3389,
2211, 2235, 2236} \begin {gather*} -\frac {3 \sqrt {\pi } d^{3/2} \text {Erf}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}+\frac {3 \sqrt {\pi } d^{3/2} \text {Erfi}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2}+\frac {(d x)^{3/2} \cosh (f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2211
Rule 2235
Rule 2236
Rule 3377
Rule 3389
Rubi steps
\begin {align*} \int (d x)^{3/2} \sinh (f x) \, dx &=\frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {(3 d) \int \sqrt {d x} \cosh (f x) \, dx}{2 f}\\ &=\frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2}+\frac {\left (3 d^2\right ) \int \frac {\sinh (f x)}{\sqrt {d x}} \, dx}{4 f^2}\\ &=\frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2}-\frac {\left (3 d^2\right ) \int \frac {e^{-f x}}{\sqrt {d x}} \, dx}{8 f^2}+\frac {\left (3 d^2\right ) \int \frac {e^{f x}}{\sqrt {d x}} \, dx}{8 f^2}\\ &=\frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2}-\frac {(3 d) \text {Subst}\left (\int e^{-\frac {f x^2}{d}} \, dx,x,\sqrt {d x}\right )}{4 f^2}+\frac {(3 d) \text {Subst}\left (\int e^{\frac {f x^2}{d}} \, dx,x,\sqrt {d x}\right )}{4 f^2}\\ &=\frac {(d x)^{3/2} \cosh (f x)}{f}-\frac {3 d^{3/2} \sqrt {\pi } \text {erf}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}+\frac {3 d^{3/2} \sqrt {\pi } \text {erfi}\left (\frac {\sqrt {f} \sqrt {d x}}{\sqrt {d}}\right )}{8 f^{5/2}}-\frac {3 d \sqrt {d x} \sinh (f x)}{2 f^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 50, normalized size = 0.45 \begin {gather*} \frac {d^2 \left (\sqrt {-f x} \Gamma \left (\frac {5}{2},-f x\right )+\sqrt {f x} \Gamma \left (\frac {5}{2},f x\right )\right )}{2 f^3 \sqrt {d x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.24, size = 132, normalized size = 1.19
method | result | size |
meijerg | \(-\frac {2 \left (d x \right )^{\frac {3}{2}} \sqrt {2}\, \sqrt {\pi }\, \left (-\frac {\sqrt {x}\, \sqrt {2}\, \left (i f \right )^{\frac {7}{2}} \left (-14 f x +21\right ) {\mathrm e}^{f x}}{112 \sqrt {\pi }\, f^{3}}+\frac {\sqrt {x}\, \sqrt {2}\, \left (i f \right )^{\frac {7}{2}} \left (14 f x +21\right ) {\mathrm e}^{-f x}}{112 \sqrt {\pi }\, f^{3}}-\frac {3 \left (i f \right )^{\frac {7}{2}} \sqrt {2}\, \erf \left (\sqrt {x}\, \sqrt {f}\right )}{32 f^{\frac {7}{2}}}+\frac {3 \left (i f \right )^{\frac {7}{2}} \sqrt {2}\, \erfi \left (\sqrt {x}\, \sqrt {f}\right )}{32 f^{\frac {7}{2}}}\right )}{x^{\frac {3}{2}} \left (i f \right )^{\frac {3}{2}} f}\) | \(132\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 175 vs.
\(2 (77) = 154\).
time = 0.26, size = 175, normalized size = 1.58 \begin {gather*} \frac {16 \, \left (d x\right )^{\frac {5}{2}} \sinh \left (f x\right ) - \frac {f {\left (\frac {15 \, \sqrt {\pi } d^{3} \operatorname {erf}\left (\sqrt {d x} \sqrt {\frac {f}{d}}\right )}{f^{3} \sqrt {\frac {f}{d}}} - \frac {15 \, \sqrt {\pi } d^{3} \operatorname {erf}\left (\sqrt {d x} \sqrt {-\frac {f}{d}}\right )}{f^{3} \sqrt {-\frac {f}{d}}} + \frac {2 \, {\left (4 \, \left (d x\right )^{\frac {5}{2}} d f^{2} - 10 \, \left (d x\right )^{\frac {3}{2}} d^{2} f + 15 \, \sqrt {d x} d^{3}\right )} e^{\left (f x\right )}}{f^{3}} - \frac {2 \, {\left (4 \, \left (d x\right )^{\frac {5}{2}} d f^{2} + 10 \, \left (d x\right )^{\frac {3}{2}} d^{2} f + 15 \, \sqrt {d x} d^{3}\right )} e^{\left (-f x\right )}}{f^{3}}\right )}}{d}}{40 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 189 vs.
\(2 (77) = 154\).
time = 0.34, size = 189, normalized size = 1.70 \begin {gather*} -\frac {3 \, \sqrt {\pi } {\left (d^{2} \cosh \left (f x\right ) + d^{2} \sinh \left (f x\right )\right )} \sqrt {\frac {f}{d}} \operatorname {erf}\left (\sqrt {d x} \sqrt {\frac {f}{d}}\right ) + 3 \, \sqrt {\pi } {\left (d^{2} \cosh \left (f x\right ) + d^{2} \sinh \left (f x\right )\right )} \sqrt {-\frac {f}{d}} \operatorname {erf}\left (\sqrt {d x} \sqrt {-\frac {f}{d}}\right ) - 2 \, {\left (2 \, d f^{2} x + {\left (2 \, d f^{2} x - 3 \, d f\right )} \cosh \left (f x\right )^{2} + 2 \, {\left (2 \, d f^{2} x - 3 \, d f\right )} \cosh \left (f x\right ) \sinh \left (f x\right ) + {\left (2 \, d f^{2} x - 3 \, d f\right )} \sinh \left (f x\right )^{2} + 3 \, d f\right )} \sqrt {d x}}{8 \, {\left (f^{3} \cosh \left (f x\right ) + f^{3} \sinh \left (f x\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 13.77, size = 133, normalized size = 1.20 \begin {gather*} \frac {7 d^{\frac {3}{2}} x^{\frac {3}{2}} \cosh {\left (f x \right )} \Gamma \left (\frac {7}{4}\right )}{4 f \Gamma \left (\frac {11}{4}\right )} - \frac {21 d^{\frac {3}{2}} \sqrt {x} \sinh {\left (f x \right )} \Gamma \left (\frac {7}{4}\right )}{8 f^{2} \Gamma \left (\frac {11}{4}\right )} + \frac {21 \sqrt {2} \sqrt {\pi } d^{\frac {3}{2}} e^{- \frac {3 i \pi }{4}} S\left (\frac {\sqrt {2} \sqrt {f} \sqrt {x} e^{\frac {i \pi }{4}}}{\sqrt {\pi }}\right ) \Gamma \left (\frac {7}{4}\right )}{16 f^{\frac {5}{2}} \Gamma \left (\frac {11}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 146, normalized size = 1.32 \begin {gather*} \frac {1}{8} \, d {\left (\frac {\frac {3 \, \sqrt {\pi } d^{3} \operatorname {erf}\left (-\frac {\sqrt {d f} \sqrt {d x}}{d}\right )}{\sqrt {d f} f^{2}} + \frac {2 \, {\left (2 \, \sqrt {d x} d^{2} f x + 3 \, \sqrt {d x} d^{2}\right )} e^{\left (-f x\right )}}{f^{2}}}{d^{2}} - \frac {\frac {3 \, \sqrt {\pi } d^{3} \operatorname {erf}\left (-\frac {\sqrt {-d f} \sqrt {d x}}{d}\right )}{\sqrt {-d f} f^{2}} - \frac {2 \, {\left (2 \, \sqrt {d x} d^{2} f x - 3 \, \sqrt {d x} d^{2}\right )} e^{\left (f x\right )}}{f^{2}}}{d^{2}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \mathrm {sinh}\left (f\,x\right )\,{\left (d\,x\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________